"""
__del__()
当删除对象时，python解释器也会默认调用__del__()方法
"""

class Washer():
    def __init__(self):
        self.width =300

    def __del__(self):
        print(f'对象已经删除')

haier = Washer()
